package com.ruoyi.qualityManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料质检项管理对象 material_quality_item
 * 
 * @author admin
 * @date 2024-07-05
 */
public class MaterialQualityItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物料质检项管理ID */
    private Long inspectionItemId;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String materialNumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 物料类型 */
    @Excel(name = "物料类型")
    private String materialType;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 抽检比例 */
    @Excel(name = "抽检比例")
    private String samplingProportion;

    /** 是否配置质检项 */
    @Excel(name = "是否配置质检项")
    private Long configureInspection;

    public void setInspectionItemId(Long inspectionItemId) 
    {
        this.inspectionItemId = inspectionItemId;
    }

    public Long getInspectionItemId() 
    {
        return inspectionItemId;
    }
    public void setMaterialNumber(String materialNumber) 
    {
        this.materialNumber = materialNumber;
    }

    public String getMaterialNumber() 
    {
        return materialNumber;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setMaterialType(String materialType) 
    {
        this.materialType = materialType;
    }

    public String getMaterialType() 
    {
        return materialType;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setSamplingProportion(String samplingProportion) 
    {
        this.samplingProportion = samplingProportion;
    }

    public String getSamplingProportion() 
    {
        return samplingProportion;
    }
    public void setConfigureInspection(Long configureInspection) 
    {
        this.configureInspection = configureInspection;
    }

    public Long getConfigureInspection() 
    {
        return configureInspection;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inspectionItemId", getInspectionItemId())
            .append("materialNumber", getMaterialNumber())
            .append("materialName", getMaterialName())
            .append("materialType", getMaterialType())
            .append("unit", getUnit())
            .append("samplingProportion", getSamplingProportion())
            .append("configureInspection", getConfigureInspection())
            .toString();
    }
}
